package com.lazyboyl.spring.boot.sharding.sphere.proxy.config;

/**
 * @author linzf
 * @since 2021-07-02
 * 类描述： socket通讯的配置类
 */
public interface SocketConfig {

    int Frontend_Socket_Recv_Buf = 4 * 1024 * 1024;
    int Frontend_Socket_Send_Buf = 1024 * 1024;
    int Backend_Socket_Recv_Buf = 4 * 1024 * 1024;
    int Backend_Socket_Send_Buf = 1024 * 1024;// mysql 5.6
    int CONNECT_TIMEOUT_MILLIS = 5000;
    int SO_TIMEOUT = 10 * 60;

}
